<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />

  <link type="text/css" href="http://localhost/soviet/public/css/plantilla.css" rel="stylesheet" />

  <link type="text/css" href="http://localhost/soviet/public/CSS/clases.css" rel="stylesheet" />

  <link href="http://localhost/soviet/public/sdmenu/sdmenu.css" type="text/css" rel="stylesheet" />
<link rel="STYLESHEET" type="text/css" href="http://localhost/soviet/public/ajax/dhtmlxGrid/css/dhtmlXGrid.css">
    <script>_css_prefix="ajax/dhtmlxGrid/css/"; _js_prefix="ajax/dhtmlxGrid/js/"; </script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXCommon.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGridCell.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_start.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calck.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_acheck.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calendar.js"></script>
	<script  src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_clist.js"></script>
	  <script src="http://localhost/soviet/public/sdmenu/sdmenu.js" type="text/javascript"></script>

  <script src="http://localhost/soviet/public/ajax/dojo/dojo.js" type="text/javascript"></script>
<script type="text/javascript">
	dojo.require("dojo.widget.TabContainer");
	dojo.require("dojo.widget.ContentPane");
	dojo.require("dojo.widget.ContentPane");
	dojo.require("dojo.widget.Button");
	dojo.require("dojo.widget.SortableTable");
</script>
<script languaje="javascript">
	var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
		myMenu.init();
	};
  </script>


 <script type="text/javascript" src="http://localhost/soviet/public/calendar.js"></script>
    <script type="text/javascript" src="http://localhost/soviet/public/calendar-setup.js"></script>
    <script type="text/javascript" src="http://localhost/soviet/public/lang/calendar-en.js"></script>
    <style type="text/css"> @import url("http://localhost/soviet/public/calendar-blue.css"); </style>
</head>
<body>
<div id="lienzo">
	<img src="http://localhost/soviet/public/Imagenes/encabezado_1.gif" width="971" />

	<table align="center" border="0" width="964">
  	<tbody>
    	<tr>
      		<td colspan="3">&nbsp;</td>
    	</tr>
    	<tr>
      		<td width="172"><img src="http://localhost/soviet/public/Imagenes/logo.gif" align="left" height="100" width="170" /></td>
      		<td width="608"><img src="http://localhost/soviet/public/Imagenes/Banner.jpg" height="102" width="616" /></td>
      		<td width="172"><img src="http://localhost/soviet/public/Imagenes/logo.gif" align="right" height="100" width="170" /></td>
    	</tr>
  	</tbody>
	</table>
		<div id="contenedorMenuPpal">
    <a href="http://localhost/soviet/indice">inicio</a> | <a href="http://localhost/soviet/quienessomos"> soviet </a> | <a href="http://localhost/soviet/consultarentrevista"> banco de voces </a> |
	<a href="http://localhost/soviet/consultardiscurso"> banco de videos </a> | <a href="http://localhost/soviet/registrarsugerenciasquejas"> sugerencias </a></div>


		<div id="contenedorCuerpo">
		<table id="tablaContenedora" style="height: 317px;">
    		<tr>
      			<td id="contenedorMenu">
      			<?= render_partial("menu"); ?>
 			</td>
   			<td id="contenedorNegocio">
<? content(); ?>


			<p>
			  <div id="encabezadoNegocio" style="width: 798px; height: 35px">Consultar Avances por
Actividad </div>
			    </p>
<? $lafoto = 'Galeriagraficos/foto1.jpg';?>


              <fieldset class="claseRecuadro"><legend>Vista Previa</legend>
<div id = 'div_foto'>


              <table style="height: 70px; top: 358px;" class="tablaSencilla2" border="0" width="80%">



                <tbody>






                  <tr><td>
				<p>Proyecto:&nbsp;&nbsp;&nbsp;&nbsp; <?= $nombreproyecto; ?></p>
				<p>Actividad:&nbsp;&nbsp;&nbsp; <?= $nombreactividad; ?></p>
				<p>Descripcion: <?= $descripcion; ?></p>

                      <div align="center">

                        <p><img  src='http://localhost/soviet/public/<?= $lafoto; ?>' height="289" width="388" />
                            </p>
                        <p>  <?= $titulo; ?>
                    </p>

                        </div>
                  </tr>
                </tbody>
              </table>
</div>
              </fieldset>

           <? $pol = 0; ?>

              <table width="600" border="0">

			  <tr>
			  <? $j = 0; ?>
             <? foreach($Galeriagraficos->find() as $inci) { ?>
               <? $j++; ?>

			         <? if ($j <= 4 ) { ?>
					 <td> <a href = '#' onClick ='new AJAX.viewRequest({ action: "consultarfoto/buscar/"+<?= $inci->id ?>,  "container": "div_foto"})'><img src = 'http://localhost/soviet/public/<?= $inci->urlfoto;?>'  align="right" height="100" width="170"> </a>      </td>
                    <? } else { $j = 0;  ?>
					 </tr> <tr>
					  <td> <a href = '#' onClick ='new AJAX.viewRequest({ action: "consultarfoto/buscar/"+<?= $inci->id ?>,  "container": "div_foto"})'><img src = 'http://localhost/soviet/public/<?= $inci->urlfoto;?>'  align="right" height="100" width="170"></td>
					   <? } ?>

			  <? } ?>


              </table>



</td>
	</tr>
	</tbody>
	</table>
	</div>
</div>
</body>
</html>
